package com.toune.dltools.bean;

import com.chad.library.adapter.base.entity.MultiItemEntity;

import java.util.ArrayList;

public class DLCreateFormBean implements MultiItemEntity {

    public static int SINGLE_INPUT = 0;
    public static int MUL_INPUT = 1;
    public static int PSW_INPUT = 2;
    public static int SPINNER = 3;
    public static int TEXT = 4;
    public static int SINGLE_CHECK = 5;
    public static int MUL_CHECK = 6;
    public static int SWITCH = 7;
    public static int DATE = 8;
    public static int LOCATION = 9;
    public static int BUTTON = 10;


    private int tag;
    private ArrayList<String> params;

    public int getTag() {
        return tag;
    }

    public void setTag(int tag) {
        this.tag = tag;
    }

    public ArrayList<String> getParams() {
        return params;
    }

    public void setParams(ArrayList<String> params) {
        this.params = params;
    }

    @Override
    public int getItemType() {
        return tag;
    }
}
